count subarrays

welcome to shbcf.ru